package com.example.designpatterns.model.observer;

import org.apache.logging.log4j.message.Message;

/**
 * @author yanyun zhu
 * @version 1.0
 * @date 2022/1/4 9:09
 */
public class ConcreteObserverOne implements Observer {
    @Override
    public void update(Message message) {
        //TODO: 获取消息通知，执行自己的逻辑...
        System.out.println("ConcreteObserverOne is notified.");
    }
}
